#ifndef BULLET_H
#define BULLET_H

#include <QGraphicsPixmapItem>
#include<QDebug>

class Bullet : public QGraphicsPixmapItem
{ 
public:
    enum BulletType
    {
        BT_Player,
        BT_Enemy
    };

    explicit Bullet(QObject *parent = nullptr);
    Bullet(QPoint _pos,QPixmap _pixmap,int _type);

    void BulletMove(QPoint _dir=QPoint(0,-1));

    int mBulletType;
    int mSpeed;





};

#endif // BULLET_H
